﻿using SerieSpotter.Helpers;
using SerieSpotter.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace SerieSpotter.Controllers
{
    public class HomeController : LanguageController
    {

        public ActionResult Index()
        {
        
            return View();
        }
       

        // /Home/about
        // routeConfig of route data vind dit door Home+controller te doen 
        public ActionResult About()
        {
            // zonder AboutModel.cs kan men zo dingen in About.cshtml laten zien
          
            //met AboutModel.cs
            var model = new AboutModel();
            model.Name = "SerieSpotter";

            // model meegeven aan de view
            return View(model);
        }

        public ActionResult Contact()
        {
            ViewBag.Message = "Your contact page.";
            return View();
        }
    }
}